package com.lky.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lky.reggie.dto.DishDto;
import com.lky.reggie.pojo.Dish;

/**
 * @author shkstart
 * @Description
 * @date 2023-01-05-13:47
 */
public interface DishService extends IService<Dish> {
    //新增菜品，同时插入菜品对应的口味数据，需要操作俩张表
    public void saveWithFlavor(DishDto dishDto);

    //根据id查询菜品信息和口味信息
    public DishDto getByIdWithFlavor(Long id);

    //
    public void updateWithFlavor(DishDto dishDto);
}
